//
//  HLTBandcardTableViewController.m
//  huiliantong
//
//  Created by hlt on 15/8/31.
//  Copyright (c) 2015年 hlt. All rights reserved.
//

#import "HLTBandcardTableViewController.h"
#import "HLTBandCardTableViewCell.h"
@interface HLTBandcardTableViewController ()

@end

@implementation HLTBandcardTableViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    //设置返回的按钮的字体的颜色的
    self.navigationController.navigationBar.tintColor=[UIColor whiteColor];
    //设置导航的背景颜色的
    self.navigationController.navigationBar.barTintColor = navigationBarColor;
    
    
    //    self.navigationController.title=@"登陆";
    [self.navigationItem setTitle:@"卡绑定"];
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

#pragma mark - Table view data source

- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
    // Return the number of sections.
    return 1;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    // Return the number of rows in the section.
    return 1;
}


- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    
    //    static NSString *identify1 = @"HLTloginTableViewCell";
    static NSString *identify1 = @"HLTBandCardTableViewCell";
    
    //    HLTloginTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:identify1];
    HLTBandCardTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:identify1];
    if(cell == nil)
    {
        //        cell= [[[NSBundle mainBundle]loadNibNamed:@"HLTloginTableViewCell" owner:nil options:nil] firstObject];
        cell= [[[NSBundle mainBundle]loadNibNamed:@"HLTBandCardTableViewCell" owner:nil options:nil] firstObject];
    }
    //    cell.backgroundColor=[UIColor clearColor];//关键语句
    cell.selectionStyle=UITableViewCellSelectionStyleNone;
    cell.parent=self;
    return cell;
}


- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
    
    return screen_height;
    
}


@end
